package com.device.util;

public class StringUtils {

    public static boolean isEquals(String s1, String s2) {
        boolean result = false;
        if (s1 == null && s2 == null) {
            result = true;
        } else if (s1 == null && s2 != null && s2.isEmpty()) {
            result = true;
        } else if (s1 !=null && s2 == null && s1.isEmpty()) {
            result = true;
        } else {
            result = s1.equals(s2);
        }
        return result;
    }
}
